package com.esl.coordinator.client.connector;

import java.io.IOException;
import java.net.UnknownHostException;

public interface SocketConnector {
	public boolean openSocket(String targetCoordinatorAddress,
			int targetCoordinatorPort) throws UnknownHostException, IOException;

	public String sendMessasge(byte[] command, int expectedResponseBytes)
			throws IOException;

	public void closeSocket();

	public boolean isOpen();
}
